public class WaitDelieverOrderState extends AbstractOrderState {


    public WaitDelieverOrderState(OrderContext orderContext) {
        super(orderContext);
    }

    public void payOrder() {
        System.out.println("你已经付过钱了");
    }

    public void deliver() {
        System.out.println("商品已发货并送达目的地");
        this.orderContext.setState(this.orderContext.receiveGoods);
    }

    public void receiveGoods() {
        System.out.println("请稍等,商品即将送达");
    }


}